package com.zsd.android.webrtcdemo;

import android.app.Application;

import com.zsd.android.webrtcdemo.exceptions.AppException;
import com.zsd.android.webrtcdemo.exceptions.ExceptionHandler;

public class BaseApplication extends Application {

    private static BaseApplication instance;

    @Override
    public void onCreate() {
        super.onCreate();
        instance = this;
        ExceptionHandler.getInstance().init(instance);
//        AppException.getInstance().init(instance);
    }

    public static BaseApplication getBaseApplication() {
        return instance;
    }
}
